fix: make ask pub

This commit is contained in:
0xMRTT 2023-06-17 15:25:41 +02:00
parent e3201bea2f
commit 071c4aad2d
Signed by: 0xMRTT
GPG Key ID: 910B287304120902

View File

@ -1,6 +1,6 @@
use ratmom::{prelude::*, Request};
async fn ask(prompt: String) -> Result<String, Box<dyn std::error::Error>> {
pub async fn ask(prompt: String) -> Result<String, Box<dyn std::error::Error>> {
let mut body = String::new();
body.push_str(r#"{