mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
all: update attributes to use new syntax
This commit is contained in:
parent
dd81cb98c6
commit
757929392e
739 changed files with 2982 additions and 2982 deletions
|
@ -2,7 +2,7 @@ module main
|
|||
|
||||
import vweb
|
||||
|
||||
['/controller/auth'; post]
|
||||
@['/controller/auth'; post]
|
||||
pub fn (mut app App) controller_auth(username string, password string) vweb.Result {
|
||||
response := app.service_auth(username, password) or {
|
||||
app.set_status(400, '')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue