Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Arpita-Jaiswal committed Dec 26, 2024
1 parent 40129b1 commit e4fcb8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fastn-ds/src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ pub async fn process_http_request(
db_url: String,
) -> wasmtime::Result<ft_sys_shared::Request> {
let path = req.uri.clone();
let hostn_store: fastn_wasm::Store<Store> =
fastn_wasm::Store::new(req, wasm_pg_pools, db_url, Store);
let hostn_store = fastn_wasm::Store::new(req, wasm_pg_pools, db_url, Store);
let mut linker = wasmtime::Linker::new(module.engine());
hostn_store.register_functions(&mut linker);
let wasm_store = wasmtime::Store::new(module.engine(), hostn_store);
Expand Down

0 comments on commit e4fcb8e

Please sign in to comment.