aboutsummaryrefslogtreecommitdiff
path: root/src/routes/api/auth/first-login.zig
blob: 2fb8c02dceb056fa21068463042cf8a69e7060d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const std = @import("std");
const Context = @import("../../context.zig");

pub const needs_auth = true;
pub const method = .POST;

const Result = struct {
    is_first: bool,
};

pub fn handler(ctx: *Context) anyerror!Result {
    _ = ctx;
    return .{ .is_first = false };
}