Skip to content

Commit d819911

Browse files
committed
fix: add workaround to make v -skip-unused . work
1 parent c8640a5 commit d819911

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/auth.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ fn (mut app App) oauth_cb() vweb.Result {
7878
return app.redirect('/new')
7979
}
8080

81+
@[markused]
8182
fn (mut app App) auth() {
8283
id_cookie := app.get_cookie('id') or { return }
8384
id := id_cookie.int()

0 commit comments

Comments
 (0)