Add available for hire button

This commit is contained in:
padulam
2017-06-17 18:09:43 -04:00
parent 53141040f4
commit ec020ad471
7 changed files with 75 additions and 0 deletions

View File

@@ -81,6 +81,11 @@ export default function settingsController(app) {
);
}
api.post(
'/toggle-available-for-hire',
ifNoUser401,
toggleUserFlag('isAvailableForHire')
);
api.post(
'/toggle-lockdown',
ifNoUser401,