Skip to content

Commit

Permalink
update zig-discord
Browse files Browse the repository at this point in the history
  • Loading branch information
Beyley committed Jun 9, 2024
1 parent e7208ce commit f7c4169
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
.version = "0.0.0",
.dependencies = .{
.@"zig-discord" = .{
.url = "git+https://github.com/Beyley/zig-discord#34807ac5259a1fcbf6006c33c584a2d5f2c7c658",
.hash = "1220ef5998bfbd39924e63cb87db71406b690bbddb000bf5f70a1597829f4b67e324",
.url = "git+https://github.com/Beyley/zig-discord#900dd023c0a22357b5f5c58464f05d4403ccb02f",
.hash = "1220d704f8d738bee01de6e1e1388b0548c3390d5c07b120f71e62332f960b1e6f22",
},
.zBoxer = .{
.url = "git+https://github.com/Beyley/zBoxer#b81c8b4de8eba47f2e0d27e56ebfaa10727c1dcc",
Expand Down
4 changes: 2 additions & 2 deletions src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ pub fn runApp(allocator: std.mem.Allocator) !void {
}
}

fn runRpcThread(rpc_client: *Rpc, app_id: []const u8) void {
fn runRpcThread(rpc_client: *Rpc, app_id: []const u8) !void {
rpc_client.run(.{
.client_id = app_id,
}) catch |err| {
Expand All @@ -447,7 +447,7 @@ fn runRpcThread(rpc_client: *Rpc, app_id: []const u8) void {

std.log.err("rpc client err: {s}", .{@errorName(err)});

err catch unreachable;
return err;
};
}

Expand Down

0 comments on commit f7c4169

Please sign in to comment.