Skip to content

Commit f3f3f2b

Browse files
Grimur Vid NeystGrimur Vid Neyst
authored andcommitted
fix-move-select-own-post-to-permission: wrong attribute canSelectAsBestAnswer Fix
1 parent a070858 commit f3f3f2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/src/@types/shims.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ declare module 'flarum/common/models/User' {
3939

4040
declare module 'flarum/common/models/Post' {
4141
export default interface Post {
42-
canSelectAsBestAnswer(): boolean;
42+
canSelectBestAnswer(): boolean;
4343
}
4444
}

0 commit comments

Comments
 (0)